{% extends "base.html" %}

{% block title %}页面未找到 - SteHub{% endblock %}

{% block content %}
<div class="row justify-content-center">
    <div class="col-md-6 text-center">
        <div class="card">
            <div class="card-body py-5">
                <i class="fas fa-exclamation-triangle fa-5x text-warning mb-4"></i>
                <h1 class="display-4">404</h1>
                <h3 class="mb-4">页面未找到</h3>
                <p class="text-muted mb-4">
                    抱歉，您访问的页面不存在或已被移动。
                </p>
                
                <div class="d-grid gap-2 d-md-block">
                    <a href="{{ url_for('main.index') }}" class="btn btn-primary me-2">
                        <i class="fas fa-home me-2"></i>返回首页
                    </a>
                    <a href="javascript:history.back()" class="btn btn-outline-secondary">
                        <i class="fas fa-arrow-left me-2"></i>返回上页
                    </a>
                </div>
            </div>
        </div>

        <div class="card mt-4">
            <div class="card-body">
                <h6>可能的原因：</h6>
                <ul class="list-unstyled text-start">
                    <li><i class="fas fa-circle text-muted me-2 small"></i>页面地址输入错误</li>
                    <li><i class="fas fa-circle text-muted me-2 small"></i>页面已被删除或移动</li>
                    <li><i class="fas fa-circle text-muted me-2 small"></i>链接已过期</li>
                </ul>
            </div>
        </div>
    </div>
</div>
{% endblock %}